.order-add {
  position: relative;
  padding-right: 281px;
}
.order-add-goods {
  padding: 15px 15px 0 15px;
  .ant-advanced-search-form {
    padding-left: 15px;
    padding-right: 15px;
    background: @background-color-base;
    border: 0 none;
    .ant-col-6 {
      height: auto;
    }
    .ant-form-item {
      margin-bottom: 0;
      .ant-btn:last-child {
        background-color: #fff;
      }
    }
  }
  .order-add-list {
    padding-top: 20px;
    overflow: auto;
    ul {
      .clearfix;
      li {
        float: left;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 25%;
        padding-right: 20px;
        .goods-item {
          position: relative;
          padding-bottom: 17px;
          width: 100%;
          .img-shape {
            width: 100%;
            border: 1px solid #e4e4e4;
            img {
              max-width: 100%;
              vertical-align: middle;
            }
          }
          .img-title {
            padding: 12px 0 0;
            height: 30px;
            font-size: 12px;
            font-weight: normal;
            .oneLineEllipsis;
          }
          .img-spec {
            height: 18px;
            .oneLineEllipsis;
          }
          .img-price {
            font-weight: bold;
            line-height: 21px;
            .anticon-down {
              color: #ccc;
            }
          }
          .img-checkbox {
            display: none;
            position: absolute;
            top: 0;
            right: 0;

            .ant-checkbox-inner {
              width: 18px;
              height: 18px;
              .border-radius(0);
              border-color: @primary-color;

              &:after {
                top: 2px;
                left: 6px;
                width: 5px;
                height: 9px;
              }
            }
          }
          &:hover {
            .img-checkbox {
              display: inline-block;
            }
          }

          &.checked {
            .img-checkbox {
              display: inline-block;
            }
          }
        }
      }
    }
  }

}
.selected-goods {
  position: absolute;
  top: 0;
  right: 0;
  width: 281px;
  height: 100%;
  background: #fcfcfc;
  border-left: 1px solid @border-color-split;
  .selected-goods-user {
    padding: 23px 15px;
    background: @background-color-base;
    border-bottom: 1px solid @border-color-split;
    .renZhengYongHu {
      float: left;
      margin-right: 13px;
      height: 38px;
      font-size: 38px;
      line-height: 38px;
      color: #999;
    }
    strong {
      font-size: 14px;
      font-weight: normal;
      line-height: 20px;
    }
    .ant-col-8 {
      text-align: right;
      a {
        display: inline-block;
        margin-top: 9px;
        height: 20px;
        line-height: 20px;
      }
    }
  }
}
.selected-goods-list {
  padding: 0 15px 0;
  overflow-y: auto;
  .selected-goods-item {
    padding: 12px 5px 15px;
    border-bottom: 1px dashed @border-color-base;
    .ant-col-24 {
      height: 18px;
      line-height: 18px;
      .oneLineEllipsis;
    }
    .ant-col-12 {
      margin-top: 10px;
    }
    .ant-col-12:last-child {
      position: relative;
      text-align: right;
      a {
        display: inline-block;
        margin-left: 10px;
        padding-left: 5px;
        .qmIcon:before {
          font-size: 14px;
          color: #ccc;
          line-height: 28px;
        }
      }
      .t-grayer {
        position: relative;
        left: 0;
        width: 100%;
        text-align: left;
        .iconfont-size-under-12px(11px);
      }
    }
    .t-red {
      font-weight: bold;
      line-height: 28px;
    }
    &-last {
      border-bottom: 0 none;
    }
  }
}
.selected-goods-foot {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 17px 15px 20px;
  width: 100%;
  text-align: right;
  border-top: 1px solid @border-color-split;
  .t-red {
    font-weight: bold;
  }
  .ant-btn-primary {
    margin-top: 17px;
    width: 250px;
  }
}
@media screen and ( min-width: 1440px ) {
  .order-add-goods .order-add-list ul li {
    width: 20%;
  }
}
@media screen and ( min-width: 1920px ) {
  .order-add-goods .order-add-list ul li {
    width: 14.2857%;
  }
}